import React from 'react';
import { BrowserRouter, Routes, Route } from 'react-router-dom'
import Home from './views/home'
import Cart from './views/cart'
import City from './views/city'
const Index = () => {
  return (
    <div>
      <BrowserRouter>
      <Routes>
        <Route path="/" element={<Home></Home>}></Route>
        <Route path="/cart" element={<Cart></Cart>}></Route>
        <Route path="/city" element={<City></City>}></Route>
      </Routes>
      </BrowserRouter>
    </div>  
  )
}

export default Index